﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <title>ErrorPage 出错啦!</title>
    <script language="JavaScript"> 
<!--
        var time = 3; //时间,秒 

        function Redirect() {
            window.location = "/home";
        }
        var i = 0;
        function dis() {
           // document.all.s.innerHTML = "还剩" + (time - i) + "秒跳转";
            i++;
        }
        //timer = setInterval('dis()', 1000); //显示时间 
        timer = setTimeout('Redirect()', time * 1000); //跳转 

//--> 
</script> 
    <link href="<%:Url.Content("~/Content/css/error.css")%>" rel="stylesheet" type="text/css" />
</head>
<body>
   <%-- <div>
    <span id="s"></span> 
    </div>--%>
    <div class="center">
        <div class="cn">
        <h2>出错了</h2>
            系统将自动跳转<br />
            如果没有跳转，请点击 <%: Html.ActionLink("这里","index","home") %>
        </div>
        <div class="en">
        <h2>ERROR!</h2>
            The system will automatically redirects<br />
            <%: Html.ActionLink("Click here","index","home") %> to manually redirection
        </div>
    </div>
</body>
</html>
